<template>
  <scrollbar height="100vh">
    <a-config-provider :locale="locale">
      <router-view></router-view>
    </a-config-provider>
  </scrollbar>
</template>

<script>
import { defineComponent } from 'vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import { ConfigProvider } from 'ant-design-vue'
import { Scrollbar } from '@/components'

export default defineComponent({
  components: {
    AConfigProvider: ConfigProvider,
    Scrollbar,
  },
  setup() {
    const locale = zhCN
    return {
      locale,
    }
  },
})
</script>

<style lang="less">
</style>
